class Contact < ActiveRecord::Base
	belongs_to :contact_type
	has_and_belongs_to_many :patients
	has_and_belongs_to_many :staffs

	validates :contact_type_id, :address, :postal_code, :phone , presence: true
	
end
